package com.umeng.soexample.di.modules;

import com.umeng.soexample.mvp.contract.ShoesFragmentContract;
import com.umeng.soexample.mvp.model.ShoesFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class ShoesFragmentModules {
    private ShoesFragmentContract.ShoesFragmentIView iView;

    public ShoesFragmentModules(ShoesFragmentContract.ShoesFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public ShoesFragmentContract.ShoesFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public ShoesFragmentContract.ShoesFragmentIModel providerIModel(){
        return new ShoesFragmentModel();
    }

}
